package com.ds.map_set;

import java.util.NoSuchElementException;

/**
 * @author Dianzhi Han
 * @version 1.0
 * @description: TODO
 * @date 2022/10/19 0:40
 */
public class MyHashMapTest {
    public static void main(String[] args) {
        MyHashMap map = new MyHashMap();
        map.put(1,10);
        map.put(2,20);
        map.put(17,50);
        map.put(33,40);
        try {
            map.remove(17,100);
        }catch (NoSuchElementException e) {
            System.err.println("没有这个节点");
        }
        System.out.println(map);
    }
}
